package com.woniuxy.info.sys.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("封装分页参数")
@Data
public class Pages<T> {

    @ApiModelProperty("当前页数据")
    private List<T> list;
    @ApiModelProperty("总记录数")
    private long pages;

    @ApiModelProperty("当前页")
    private Integer current;
    @ApiModelProperty("页大小")
    private Integer size;
}